package com.gitee.wsl.struct.grammar.parser.token


fun interface CancellationToken {
    fun checkCancelled()

    object NonCancellable: CancellationToken {
        override fun checkCancelled() = Unit
    }
}
